<?php

namespace app\app\controller\shop;

use app\app\controller\AppBase;
use app\app\model\shop\ShopGoodsCategoryModel;

class ShopGoodsCategory extends AppBase
{
    protected $noNeedLogin = [];

    /**
     * Notes: 查询店铺分类
     * User: AerYYY
     * Date: 7/2/25
     * @throws \think\db\exception\DataNotFoundException
     * @throws \think\db\exception\ModelNotFoundException
     * @throws \think\exception\DbException
     */
    public function list()
    {
        $shopGoodsCategoryModel = new ShopGoodsCategoryModel();
        $list = $shopGoodsCategoryModel->list($this->_shop_id);

        $this->success($list);
    }
}